package com.leoman.plz_p.module.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by guoh on 2018/7/7.
 */
public class QuestionBean implements Serializable{

    /**
     * id : 26
     * topic : {"choice":1,"createTime":"2018-07-10","examineId":2,"id":26,"image":"http://127.0.0.1:8080/images/2018/7/1531197831628.jpg,http://127.0.0.1:8080/images/2018/7/1531197833706.jpg","isTrue":"4","name":"--Your father\u2019s never visited to Hainan, __________ he?","reach":"has, No, he hasn\u2019t. ","type":1,"updateTime":null}
     * list : [{"content":"has, Yes, he has. ","createTime":"2018-07-10","id":69,"isTrue":null,"reach":null,"topicId":26},{"content":"is, Yes, he is ","createTime":"2018-07-10","id":70,"isTrue":null,"reach":null,"topicId":26},{"content":"hasn\u2019t, No, he hasn\u2019t. ","createTime":"2018-07-10","id":71,"isTrue":null,"reach":null,"topicId":26},{"content":"has, No, he hasn\u2019t. ","createTime":"2018-07-10","id":72,"isTrue":null,"reach":null,"topicId":26}]
     */

    private String id;
    private TopicBean topic;
    private List<AnswerBean> list;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public TopicBean getTopic() {
        return topic;
    }

    public void setTopic(TopicBean topic) {
        this.topic = topic;
    }

    public List<AnswerBean> getList() {
        return list;
    }

    public void setList(List<AnswerBean> list) {
        this.list = list;
    }

    public static class TopicBean {
        /**
         * choice : 1
         * createTime : 2018-07-10
         * examineId : 2
         * id : 26
         * image : http://127.0.0.1:8080/images/2018/7/1531197831628.jpg,http://127.0.0.1:8080/images/2018/7/1531197833706.jpg
         * isTrue : 4
         * name : --Your father’s never visited to Hainan, __________ he?
         * reach : has, No, he hasn’t.
         * type : 1
         * updateTime : null
         */

        private int choice;
        private String createTime;
        private int examineId;
        private int id;
        private String image;
        private String isTrue;
        private String name;
        private String reach;
        private int type;
        private Object updateTime;

        public int getChoice() {
            return choice;
        }

        public void setChoice(int choice) {
            this.choice = choice;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public int getExamineId() {
            return examineId;
        }

        public void setExamineId(int examineId) {
            this.examineId = examineId;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getImage() {
            return image;
        }

        public void setImage(String image) {
            this.image = image;
        }

        public String getIsTrue() {
            return isTrue;
        }

        public void setIsTrue(String isTrue) {
            this.isTrue = isTrue;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getReach() {
            return reach;
        }

        public void setReach(String reach) {
            this.reach = reach;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public Object getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(Object updateTime) {
            this.updateTime = updateTime;
        }
    }


}
